{include file="public/header"/}
{include file="public/navleft"}
<div class="tpl-content-wrapper">
  <div class="tpl-portlet-components">
    <div class="layui-fluid">
      <div class="layui-row layui-col-space10">
        <div class="layui-col-md10">
          <div class="layui-card">
            <div class="layui-card-header">网站设置</div>
            <div class="layui-card-body">

              <div class="layui-form" wid100 lay-filter="">
                <div class="layui-form-item">
                  <label class="layui-form-label" style="width: auto;" >网站名称</label>
                  <div class="layui-input-block">
                    <input type="text" name="sitename" value="{:config('webset.webname')}" class="layui-input">
                  </div>
                </div>
                <div class="layui-form-item" ">
                <label class="layui-form-label" style="width: auto;">缓存时间</label>
                <div class="layui-input-inline" style="width: 80px;">
                  <input type="text" name="cache" lay-verify="number" value="0" class="layui-input" style="margin-left: 24px;">
                </div>
                <div class="layui-input-inline layui-input-company" style="margin-left: 24px;">分钟</div>
                <div class="layui-form-mid layui-word-aux">本地开发一般推荐设置为 {:config('webset.radtime')}。，线上环境建议设置为 0</div>
              </div>
              <div class="layui-form-item">
                <label class="layui-form-label" style="width: auto;">最大文件上传</label>
                <div class="layui-input-inline" style="width: 80px;">
                  <input type="text" name="cache" lay-verify="number" value="{:config('webset.maxfile')}" class="layui-input">
                </div>
                <div class="layui-input-inline layui-input-company">KB</div>
                <div class="layui-form-mid layui-word-aux">提示：1 M = 1024 KB</div>
              </div>


              <div class="layui-form-item layui-form-text">
                <label class="layui-form-label" style="width: auto;" >主页标题</label>
                <div class="layui-input-block">
                  <textarea name="title" class="layui-textarea">{:config('webset.indextitle')}</textarea>
                </div>
              </div>

            </div>
            <div class="layui-form-item layui-form-text">
              <label class="layui-form-label" style="width: auto;">版权信息</label>
              <div class="layui-input-block">
                <textarea name="copyright" class="layui-textarea">{:config('webset.inc')}</textarea>
              </div>
            </div>
            <div class="layui-form-item">
              <div class="layui-input-block">
                <button class="layui-btn layui-bg-blue " lay-submit lay-filter="set_website">确认保存</button>
              </div>
            </div>
          </div>

        </div>
      </div>
    </div>
  </div>
</div>

</div>
</div>
{include file="public/footer"/}